package ooday01;
/** 构造方法的演示 */
public class ConsDemo {
    public static void main(String[] args) {
        Student zs = new Student("zs",15,"2302","001");
        Student ls = new Student();
        Student ww = new Student("ww",18);
        zs.sayHi();
        ls.sayHi();
        ww.sayHi();

        Car tsl = new Car("特斯拉","白色",500000.0);
        tsl.start();
        tsl.run();
        tsl.stop();
    }


}

